package com.yinhai.msg.wechat.service.write.impl;

import com.yinhai.msg.wechat.domain.WechatPo;
import com.yinhai.msg.wechat.mapper.write.WechatWriteMapper;
import com.yinhai.msg.wechat.service.write.WechatWriteService;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import com.yinhai.ta404.core.utils.ValidateUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.UUID;

/**
 * @File xxx
 * @Author Administrator
 * @Date 2019/5/22 0022 15:42
 * @Version 1.0
 * @Description xxx
 */
@Service
@TaTransactional
public class WechatWriteServiceImpl implements WechatWriteService {
    @Autowired
    private WechatWriteMapper wechatWriteMapper;
    @Override
    public void saveWechat(WechatPo wechatPo) {
        wechatWriteMapper.saveWechat(wechatPo);
    }

    @Override
    public void removeWechatNoDefault() {
        wechatWriteMapper.removeWechatNoDefault();
    }
}
